<?php

use think\migration\Migrator;
use think\migration\db\Column;

class CouponOrderSidAddServType extends Migrator
{
    public function up()
    {


        $this->table('coupon_order_sid')
            ->addColumn('serv_type', 'integer', ['limit' => 11, 'default' => 0, 'comment' => '服务'])//在user表中增加一个test字段
            ->update();


    }

    public function down()
    {
        $this->table('coupon_order_sid')->removeColumn('serv_type');
    }
}
